using System.Collections.Generic;
using System.Linq;
using UnityEngine;

[CreateAssetMenu(fileName = "Effect06-给目标棋子设置一个技能", menuName = "Skill/Effect/Effect06-给目标棋子设置一个技能", order = 6)]
public class Effect06 : EffectBase
{
    public SkillConfig skillConfig;
    public override void Apply(Pair pair, GameEvent e, List<Chess> targets)
    {
        if(targets == null) return;
        foreach (var target in targets)
        {
            skillConfig.Init(target);
        }
    }
}